<html>
<head><meta charset="utf-8"><title>type annotations in VScode · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/type.20annotations.20in.20VScode.html">type annotations in VScode</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="173802792"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/type%20annotations%20in%20VScode/near/173802792" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alexander Regueiro <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/type.20annotations.20in.20VScode.html#173802792">(Aug 21 2019 at 15:08)</a>:</h4>
<p>Hey <span class="user-mention" data-user-id="133169">@matklad</span>. The type annotations feature (for inferred types) in VScode is pretty cool, but I've noticed one issue: it sometimes makes working with manual indentation awkward. Is there a way to turn it off, or maybe even only activate it for currently-selected lines?</p>



<a name="173802870"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/type%20annotations%20in%20VScode/near/173802870" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/type.20annotations.20in.20VScode.html#173802870">(Aug 21 2019 at 15:09)</a>:</h4>
<p>there's config option: <a href="https://github.com/rust-analyzer/rust-analyzer/blob/5fd9a5be0984faa138281e46dd4b73cfdad073b1/editors/code/package.json#L247-L251" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/blob/5fd9a5be0984faa138281e46dd4b73cfdad073b1/editors/code/package.json#L247-L251">https://github.com/rust-analyzer/rust-analyzer/blob/5fd9a5be0984faa138281e46dd4b73cfdad073b1/editors/code/package.json#L247-L251</a></p>



<a name="173831065"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/type%20annotations%20in%20VScode/near/173831065" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alexander Regueiro <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/type.20annotations.20in.20VScode.html#173831065">(Aug 21 2019 at 20:52)</a>:</h4>
<p><span class="user-mention" data-user-id="133169">@matklad</span> Thanks.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>